Skip to main content

Set Focus

Sets keyboard focus to a specified UI element.

Options

  • Element: Use the UIElement variable returned by another activity.This property cannot be used alongside the Selector property. This field supports only UIElement variables.
    • Type: ArenaRobotics.Domain.Entities.UIElement
    • Required
  • Selector: Text property used to find a particular UI element when the activity is executed.It is actually a XML fragment specifying attributes of the GUI element you are looking for and of some of its parents.
    • Type: System.String
    • Required

Common

  • Timeout: Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds(30 seconds).
    • Type: System.Int32
    • Required